﻿using System;
using MyFloridaHouse.libSvUtilities.Logging;

namespace MyFloridaHouse.libSvOpenDistricts.ViewModel
{
    public partial class ViewModelBase
    {
        private bool CmdReportsBatchPDFCloseCanExecute(object parameter)
        {
            // don't need to register dialog cause button is only visible when batch PDF is going
            return true;
        }

        private void CmdReportsBatchPDFCloseExecute(object parameter)
        {
            try
            {
                BatchPDFClose();
            }
            catch (Exception ex)
            {
                Log.HandleException(ex);
            }
        }


    }
}
